<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        *{padding: 0;}
        .ul1{
            display: flex;
            list-style: none;
            background-color: pink;
            /* 水平对齐方式 */
            /* 两端对齐，均匀分布 */
            /* justify-content: space-around; */
            /* 两端对齐，顶到两端 */
            /* justify-content: space-between; */
            /* 主轴开始对齐 */
            /* justify-content: flex-start; */
            justify-content: flex-end;
        }
        .ul1 li{
            border: 2px solid red;
        }
        .li3{
            height: 100px;
        }
    </style>
    <ul class="ul1">
        <li>1111</li>
        <li>222</li>
        <li class="li3">333</li>
        <li>44</li>
    </ul>
</body>
</html>